import http from "@/util/request";

/**
 * 获取微信支付签名地址
 * @returns {*}
 */
export function getPayURL (orderId, ordersign) {
    return http(`/pay/wx/jsApiPay/${orderId}/${ordersign}`,{},true,'GET')
}

/**
 * 退款
 * @param orderId
 * @returns {*}
 */
export function queryRefund (orderId,orderSign) {
    return http(`/pay/wx/payRefund/${orderId}/${orderSign}`,{},true,'GET')
}

/**
 * 获取钱包信息
 * @param params
 * @returns {*}
 */
export function queryWalletInfo(params){
    return http(`/wx/acceptance/wallet/getInfoByOpenId`,params,true,'GET')
}